package com.atchangsha.system.feign;

import com.atchangsha.system.common.to.PayTO;
import com.atchangsha.system.dto.PhoneDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("thirdParty")
public interface ThirdPartyFeignService {
    @PostMapping("thirdParty/sms/checkBool")
    Boolean checkIsBoolean(@RequestBody PhoneDto phoneDto);

    @PostMapping("thirdParty/pay")
    String pay(@RequestBody PayTO payTO);
}
